import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";

@Entity()
export class product {

    @PrimaryGeneratedColumn()
    id: number

    @Column()
    productName: string
    @Column()
    description: string
    //哈希地址
    @Column()
    address: string
    //拥有者昵称
    @Column()
    applicant: string
    //拥有者哈希地址
    @Column()
    ownerAddress: string

}